﻿<!--
(c) Copyright Fernando Cerqueira.
This source is subject to the Microsoft Public License (Ms-PL).
Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
All other rights reserved.
-->
    
<dw:DialogWindow x:Class="WindowsPhoneCommands.TargetFolderDialog"
      xmlns:dw="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.10.0"
      xmlns:res="clr-namespace:WindowsPhoneCommands"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      WindowStyle="SingleBorderWindow"
      WindowStartupLocation="CenterOwner"
      ResizeMode="NoResize" 
      ShowInTaskbar="False"
      SizeToContent="WidthAndHeight"
      d:DesignHeight="400" d:DesignWidth="600">
    <Grid Width="411" Height="240" Margin="10">
        <StackPanel Orientation="Vertical" HorizontalAlignment="Stretch">
            <TextBlock Text="{Binding Source={x:Static res:Resources.XTitSelectFolderResx}}" FontWeight="Bold" Margin="0,0,0,3" />
            <ComboBox x:Name="CboFolder" MinWidth="400" Margin="0,0,0,5" SelectionChanged="CboFolderSelectionChanged" />
            <ListBox x:Name="LstFiles" Height="150" Margin="0,0,0,5" />
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
                <Button Content="{Binding Source={x:Static res:Resources.OK}}" Padding="5" Margin="0,0,10,0" Name="BntOk" Click="BntOkClick" />
            </StackPanel>
        </StackPanel>
    </Grid>
</dw:DialogWindow>

